package com.whb.event;

import java.util.EventObject;

/**
 * @Author labu
 * @Date 2020/11/26
 * @Description
 */
public class MyEventObject extends EventObject {

    public MyEventObject(Object source) {
        super(source);
    }

    public void doEvent(){
        System.out.println("通知事件源："+this.getSource());
    }

}
